package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Staging;
import cn.wolfcode.crm.query.StagingQueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IStagingService {


    PageResult query(StagingQueryObject qo);

    int deleteByPrimaryKey(Long id);

    int insert(Staging record,Long[] pIds);

    Staging selectByPrimaryKey(Long id);

    List<Staging> selectAll();

    int updateByPrimaryKey(Staging record);

    //拒保
    void drop(Long id);

    //提审
    void remand(Long id);

    //退回申请
    void back(Long id,String opinion );

    //审核通过
    void through(Long id,Staging record);

    Staging echo(Long id);

}
